/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 根变量定义 */
:root {
    /* 颜色系统 */
    --primary-dark: #1a2f1a;
    --primary-green: #2d5a3d;
    --accent-gold: #d4af37;
    --accent-sage: #9cae9c;
    --text-light: #f5f5f5;
    --text-muted: #a8b8a8;
    --bg-dark: #0f1610;
    --bg-section: #1a2019;
    --bg-card: rgba(45, 90, 61, 0.1);
    
    /* 字体 */
    --font-serif: 'Noto Serif SC', 'Playfair Display', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* 动画 */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-gentle: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 基础样式 */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-serif);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 22, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo-zh {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent-gold);
    font-family: var(--font-serif);
}

.logo-en {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 300;
    transition: var(--transition-smooth);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition-smooth);
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 50%, var(--primary-green) 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.title-zh {
    color: var(--accent-gold);
    font-family: var(--font-serif);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.title-divider {
    color: var(--accent-sage);
    font-size: 0.6em;
    opacity: 0.7;
}

.title-en {
    color: var(--text-light);
    font-family: var(--font-sans);
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: lowercase;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--accent-sage);
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

/* 浮动元素 */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 100%);
    animation: float 20s infinite ease-in-out;
}

.element-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.element-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -5%;
    animation-delay: -5s;
}

.element-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 20%;
    animation-delay: -10s;
}

.element-4 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 10%;
    animation-delay: -15s;
}

/* 通用区域样式 */
.about, .philosophy, .contact {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.about {
    background: var(--bg-section);
}

.philosophy {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
}

.contact {
    background: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-serif);
}

.section-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 0 auto;
}

/* 关于部分 */
.about-intro {
    font-size: 1.3rem;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-gentle);
    backdrop-filter: blur(10px);
}

.feature:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    filter: sepia(1) hue-rotate(45deg) saturate(0.8);
}

.feature h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.feature p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* 理念部分 */
.philosophy-quote {
    text-align: center;
    margin: var(--spacing-xl) 0;
}

.philosophy-quote blockquote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-light);
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.philosophy-quote blockquote::before,
.philosophy-quote blockquote::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.3;
    position: absolute;
    font-family: var(--font-serif);
}

.philosophy-quote blockquote::before {
    top: -20px;
    left: -30px;
}

.philosophy-quote blockquote::after {
    bottom: -40px;
    right: -30px;
}

.philosophy-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.philosophy-item {
    padding: var(--spacing-lg);
    border-left: 3px solid var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
    border-radius: 0 10px 10px 0;
}

.philosophy-item h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.philosophy-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* 联系部分 */
.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 800px;
    width: 100%;
}

.contact-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-item h3 {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.contact-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-link {
    color: var(--accent-sage);
    text-decoration: none;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

/* 产品服务部分 */
.products {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.products-content {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.product-showcase {
    max-width: 800px;
    width: 100%;
}

.product-card {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 175, 55, 0.25);
}

.product-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.product-info {
    flex: 1;
}

.product-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.product-name-en {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 500;
}

.product-name-zh {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 400;
}

.product-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.product-description p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.product-features {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.feature-tag {
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.product-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-2px);
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-zh {
    font-size: 1.5rem;
}

.footer-logo .logo-en {
    font-size: 0.9rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15, 22, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--spacing-xl);
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .philosophy-details {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .philosophy-quote blockquote::before,
    .philosophy-quote blockquote::after {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .nav-container {
        padding: 0 var(--spacing-sm);
    }
    
    .feature, .contact-item, .philosophy-item {
        padding: var(--spacing-md);
    }
    
    .product-card {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }
    
    .product-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        align-self: center;
    }
    
    .product-name-en {
        font-size: 1.8rem;
    }
    
    .product-name-zh {
        font-size: 1.3rem;
    }
    
    .product-actions {
        justify-content: center;
    }
}

/* 高对比度和可访问性 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 打印样式 */
@media print {
    .navbar, .floating-elements {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title, .feature h3, .philosophy-item h3, .contact-item h3 {
        color: black;
    }
} 